package com.tttshaoqi.mapper;

import com.tttshaoqi.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
* @author tttshaoqi
* @description 针对表【sys_user(用户表)】的数据库操作Mapper
* @createDate 2025-07-30 17:38:05
* @Entity com.tttshaoqi.entity.SysUser
*/
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    @Select("select * from security_db.sys_user where username = #{username}")
    SysUser getByUsername(String username);
}




